<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="index/converting" method="POST" enctype="multipart/form-data">
    <div style="margin-top: 2rem;">
        <span>pdf转png</span>
        <input type="file" name="pdf">
        <input type="submit" value="上传">
    </div>


    <div style="margin-top: 2rem;">
        <span>doc转pdf</span>
        <input type="file" name="doc">
        <input type="submit" value="上传">
    </div>

    <div style = "margin-top: 2rem;">
        <span>图片格式转换</span>
        <input type = "file" name    = "img">
        <input type = "text" name    = "toImgFormat" value = "" placeholder = "需要转换的格式">
        <input type = "submit" value = "上传">
    </div>

    <div style = "margin-top: 2rem;">
        <span>图片压缩</span>
        <input type = "file" name    = "imgCompress">
        <input type = "number" name  = "compressPersent" value = "" placeholder = "压缩比例（1-100）">
        <input type = "submit" value = "上传">
    </div>

    <div style = "margin-top: 2rem;">
        <span>视频格式转换</span>
        <input type = "file" name    = "video">
        <input type = "text" name    = "toVideoFormat" value = "" placeholder = "需要转换的格式">
        <input type = "submit" value = "上传">
    </div>

    <div style = "margin-top: 2rem;">
        <span>视频压缩</span>
        <input type = "file" name    = "videoCompress">
        <input type = "number" name    = "crf" value = "" placeholder = "压缩比例（0~51）">
        <input type = "submit" value = "上传">
    </div>

    <div style="margin-top: 3rem;">
        <span>说明：两种转换只能同时使用一种，使用完毕后请刷新页面</span>
    </div>
</form>
</body>
</html>